package day_07.oop;

/**
 * @ClassName Student
 * @Description TODO
 * @Author hp
 * @Date 2021/6/10 18:15
 * @Version 1.0
 **/
public class Student {
        private String name;
        private char gender;
        private int age;
        private int id;
        private double sorce;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public char getGender() {
        return gender;
    }

    public void setGender(char gender) {
        this.gender = gender;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getSorce() {
        return sorce;
    }

    public void setSorce(double sorce) {
        this.sorce = sorce;
    }

    public Student(String name, char gender, int age, int id, double sorce) {
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.id = id;
        this.sorce = sorce;
    }

    public Student() {
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", gender=" + gender +
                ", age=" + age +
                ", id=" + id +
                ", sorce=" + sorce +
                '}';
    }
}
